package com.gouzheng.service.impl;

import com.gouzheng.dao.remarksDao;
import com.gouzheng.entity.Remarks;
import com.gouzheng.service.RemarksService;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("RemarksService")
public class RemarksServiceImpl implements RemarksService {

    @Autowired
    private remarksDao remarksDao;

    @Override
    public List<Remarks> findRemarks(Remarks remarks) {
        return remarksDao.findRemarks(remarks);
    }

    @Override
    public void addRemarks(Remarks remarks) {
        remarksDao.addRemarks(remarks);
    }

    @Override
    public void addRemarkss(Remarks remarks) {
        remarksDao.addRemarkss(remarks);
    }

    @Override
    public Remarks getReply(String stuNum) {
        return remarksDao.getReply(stuNum);
    }

    @Override
    public void baseList(List delList) {
        remarksDao.baseList(delList);
    }

}
